﻿<?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); }
/****************************************************
*
* @File: 		template.php
* @Package:		GetSimple
* @Author:		Thomas Champagne
*
*****************************************************/
?>
<!DOCTYPE html>
<html>
<head>

	<!-- Site Title -->
	<title><?php get_page_clean_title(); ?> &lt; <?php get_site_name(); ?></title>
	<?php get_header(); ?>
	<meta name="robots" content="index, follow, width=device-width" />
	<meta charset="utf-8">

	<!-- Included CSS Files (Compressed) -->
	<link rel="stylesheet" href="<?php get_theme_url(); ?>/stylesheets/foundation.min.css">
	<link rel="stylesheet" href="<?php get_theme_url(); ?>/stylesheets/main.css">
	<link rel="stylesheet" href="<?php get_theme_url(); ?>/stylesheets/app.css">

	<!-- Included  Javascript file -->
	<script src="<?php get_theme_url(); ?>/javascripts/modernizr.foundation.js"></script>
	<script src="<?php get_theme_url(); ?>/javascripts/prototype.js"></script>
	<script src="<?php get_theme_url(); ?>/javascripts/app.js"></script>

	<link rel="stylesheet" href="<?php get_theme_url(); ?>/ligature.css">

	<!-- Google fonts -->
	<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300|Playfair+Display:400italic' rel='stylesheet' type='text/css' />
	<link href='http://fonts.googleapis.com/css?family=Handlee' rel='stylesheet' type='text/css'>

	<!-- IE Fix for HTML5 Tags -->
  <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
	<style>
	.noiseGreyBackground {
		background-image: url(<?php get_theme_url() ?>/images/noise_grey.png);
		-webkit-box-shadow: 0px 5px 12px 0px rgba(50, 50, 50, 0.54);
		-moz-box-shadow:    0px 5px 12px 0px rgba(50, 50, 50, 0.54);
		box-shadow:         0px 5px 12px 0px rgba(50, 50, 50, 0.54);
	}
	</style>
</head>
<body id="<?php get_page_slug(); ?>" style="background-image: url(<?php get_theme_url(); ?>/images/noise_red.png);">
	 <!-- ######################## Header ######################## -->
     <header style="background-image: url(<?php get_theme_url(); ?>/images/noise_grey.png); text-align: center;">
		<div id="so__cialIcons" style="position:absolute;right:20px;top:10px;">
		<a href="#"  onclick="alert('Lien vers ton compte twitter...')"><img src="<?php get_site_url() ?>data/uploads/site/social_icons/twitter.png"/></a>
			<a href="#" onclick="alert('Lien vers ton compte/page facebook...')"><img src="<?php get_site_url() ?>data/uploads/site/social_icons/facebook.png"/></a>
			<a href="#"  onclick="alert('Lien vers ta chaine Youtube...')"><img src="<?php get_site_url() ?>data/uploads/site/social_icons/youtube.png"/></a>
			<a href="index.php?id=rss-feed" onclick="alert('Ajoutez le lien vers la page qui va s\'ouvrir à votre gestionnaire du flux RSS préferé.')" target="_blank" ><img src="<?php get_site_url() ?>data/uploads/site/social_icons/rss.png"/></a>
		</div>
        <!--a class="logo" href="<?php /*get_site_url();*/ ?>"-->
          <div>
            <img src="<?php get_theme_url(); ?>/images/logo.png" >
          </div>
        <!--/a-->
      </header>
<!-- ######################## Main Menu ######################## -->
<nav>
		<div class="twelve columns header_nav" style="background-image: url(<?php get_theme_url(); ?>/images/noise_grey.png);">
      
			<div class="row">
				<ul id="menu-header" class="nav-bar horizontal">
					<?php get_navigation(return_page_slug()); ?>
				</ul>

				<script type="text/javascript">
         		//<![CDATA[
         		//$('ul#menu-header').nav-bar();
          		//]]>
          		</script>
          	</div>  
          </div>

      </nav>

   
      <section class="section_main">
      	<div class="row">
      		<h2 style="text-align:left; margin-left:2%; margin-top:3%;"><?php get_page_title(); ?></h2>
      			<div  <?php if(get_page_slug(false) != 'index') { ?> class="panel noiseGreyBackground"<?php } ?> >
      				<?php get_page_content(); ?>
      			</div>
				<div id="#footer" style="padding-top: 10px;text-align: center;font-size:14px;	font-family: 'Open Sans Condensed',sans-serif;">
				<!-- ######################## Footer ######################## -->  
				Love2dance, droits réservés <?php echo date("Y");?>. Site réalisé par <a style="color: #333" href="https://twitter.com/champagnethomas" target="_blank">Thomas Champagne.</a>. 
				<a style="color: #333" href="<?php get_site_url() ?>admin/" target="_blank">Zone admin</a>
				</div>
      	</div>
      </section>	
  </body>
</html>